package com.wutong.eams.service;

import com.wutong.eams.entity.Class;
import com.wutong.eams.mapper.ClassMapper;

import java.util.List;

public class ClassManagerService implements IService<ClassMapper, Class> {

    private final ClassMapper classMapper = new ClassMapper() {};

    @Override
    public ClassMapper getMapper() {
        return classMapper;
    }

    public List<Class> getAllClasses() {
        return getMapper().getAllClasses();
    }
}
